package top.fangw.common.log.enums;

import lombok.Getter;

/**
 * @author fgw
 * @description 操作类型注解
 * @createDate 2024/1/17
 */
public enum OptionType {
    INSERT("CREATE", "新增"),
    UPDATED("UPDATED", "修改"),
    DELETED("DELETED", "删除"),
    SEARCH("READ", "查询");


    @Getter
    private String name;

    @Getter
    private String label;


    OptionType(String name, String label) {
        this.name = name;
        this.label = label;
    }
}
